//
//  WebViewManager.m
//  Haliaeetus
//
//  Created by junli hou on 2018/3/20.
//  Copyright © 2018年 BMY. All rights reserved.
//

#import "WebViewManager.h"


@interface WebViewManager ()

@property (strong, nonatomic) UINavigationController *navigationController;
@property (assign, nonatomic) id<WebViewManagerDelegate> delegate;

@end
@implementation WebViewManager
+ (WebViewManager *)defaultManager {
    static WebViewManager *defaultManager;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        defaultManager = [[WebViewManager alloc] initSingle];
    });
    return defaultManager;
}
- (id)initSingle {
    self = [super init];
    if (self) {
    }
    return self;
}

- (id)init {
    return [WebViewManager defaultManager];
}
-(BOOL)webOpenUrl:(NSString *)url{
    return YES;
}

-(BOOL)openUrl:(NSString *)url{
  
    return YES;
}


- (void)setMainNavigationController:(UINavigationController *)navigationController {
    self.navigationController = navigationController;
}


@end
